home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #5
/
Amiga Plus CD - 1996 - No. 5.iso
/
pd
/
grafik
/
jacosub
/
rexx
/
savescript.jsrx
< prev
next >
Wrap
Text File
|
1993-12-25
|
468b
|
22 lines
/* JACOsub SAVESCRIPT command demonstration.
This command causes JACOsub save the script currently in memory
to a the specified file.
SAVESCRIPT returns RESULT=0 if successful, or RESULT=1 if a problem
occurred.
*/
if ~arg() then do ; say 'No file name.' ; exit 1 ; end
parse arg filename
options results
address 'JACOsub'
'SAVESCRIPT' filename
if result then
say 'script failed to be written'
else
say 'script was written successfully'
exit result